/*
** File.hh for 304Pacman in /home/mickael/Math
**
** Made by mickael gomes
** Login   <gomes.mickael@epitech.net>
**
** Started on  jeu. nov.  07 11:20:07 2013 mickael gomes
** Last update jeu. nov.  07 11:20:07 2013 mickael gomes
*/

#ifndef							FILE_HH_
# define						FILE_HH_

# include						<iostream>
# include						<fstream>
# include						<vector>
# include						<utility>

class 							File
{
private:		//Attributes
	char						*fileName_;
	std::vector<std::string>	map_;
	std::vector< std::pair<int*, bool> >		numMap_;
	int							len_;
	int							ghostCoord_[2];
	int							height_;
public:			//Ctor-Dtor
	File(char *fileName);
	~File();
public:			//Functions
	void						readFile();
	bool						findGhost();
	void						convertMap();
	std::vector<std::string>	getMap();
	int*						getGhostCoord();
	std::vector< std::pair<int*, bool> >		&	getNumMap();
	int							getLen();
	int							getHeight();
	int*						Remplissage(std::string, int, int*);
};

#endif